package com.wnxy.admin.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 优惠券信息表
 * </p>
 *
 * @author (^･ｪ･^)Cat~
 * @since 2023-11-29
 */
@Data
  @TableName("t_coupon")
@ApiModel(value = "Coupon对象", description = "优惠券信息表")
public class Coupon implements Serializable {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty("编号")
        @TableId(value = "coupon_id", type = IdType.AUTO)
      private Integer couponId;

      @ApiModelProperty("优惠名称")
      private String couponName;

      @ApiModelProperty("折扣")
      private BigDecimal discount;

      @ApiModelProperty("金额")
      private BigDecimal amount;

      @ApiModelProperty("开始时间")
      private Date startTime;

      @ApiModelProperty("结束时间")
      private Date endTime;

      @ApiModelProperty("状态")
      private String status;

      @ApiModelProperty("逻辑删除: 0[正常] / 1[已删除]")
      private Integer isDeleted;

}
